package com.ssy.lingxi.member.merchant.model.vo.lrc.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 修改会员权益状态接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2022-03-22
 */
public class MemberRightStatusVO implements Serializable {
    private static final long serialVersionUID = -5359977025769010798L;

    /**
     * 权益Id
     */
    @NotNull(message = "权益Id要大于0")
    @Positive(message = "权益Id要大于0")
    private Long rightId;

    /**
     * 状态，0-禁用，1-启用
     */
    @NotNull(message = "状态取值：0-禁用，1-启用")
    @Min(value = 0, message = "状态取值：0-禁用，1-启用")
    @Max(value = 1, message = "状态取值：0-禁用，1-启用")
    private Integer status;

    public Long getRightId() {
        return rightId;
    }

    public void setRightId(Long rightId) {
        this.rightId = rightId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
